@import "../common/var";

.nav-bar-container {
  display: flex;
  align-items: center;
  align-content: center;
  height: 100%;
  width: 100%;
  /*overflow: auto;*/
  box-sizing: border-box;


  .tab-actions {
    margin-left: 5px;
    width: 40px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
  }

  .tab-actions-bg {
    background: $--background-color-base;
    border-radius: 3px;
    width: 35px;
    height: 35px;
    display: flex;
    cursor: pointer;
    border: $--border-base;
  }


  .nav-wrap {
    width: calc(100% - 50px);
    display: inline-block;
    margin-left: 5px;

    .el-tabs--card > .el-tabs__header {
      border: none;
    }

    .el-tabs--card > .el-tabs__header .el-tabs__item.is-active {
      border: transparent;
    }

    .el-tabs--card > .el-tabs__header .el-tabs__nav {
      border: none;
    }

    .el-tabs--card > .el-tabs__header .el-tabs__item {
      border: none;
      margin: 5px;
      box-shadow: 0 0 4px 1px rgb(0 0 0 / 10%);
    }

    .el-tabs__nav-scroll {
      //padding: 0 5px;
    }

    .el-tabs--card > .el-tabs__header .el-tabs__item .el-icon-close {
      width: 14px;
    }

    .el-tabs--card > .el-tabs__header .el-tabs__item.is-closable:hover {
      padding-right: 20px;
      padding-left: 20px;
    }


    .el-tabs__nav-wrap {
      margin-bottom: 0;
    }

    .el-tabs__header {
      margin: 0;
    }

    .el-tabs--card > .el-tabs__header > .el-tabs__item {
      border: none;
      border-radius: 2px;
      //background: $--color-white;
    }

    .el-tabs--card .el-tabs__item:hover {
      border-bottom: 6px solid $--color-primary;
      transition: border-bottom-width 0.15s ease-out;
    }


    .el-tabs__item + .el-tabs__item {
      margin-left: 4px;
    }

    .el-tabs__nav {
      background: transparent;
    }
  }

  .el-tabs__nav-next,
  .el-tabs__nav-prev {
    display: flex;
    align-items: center;
    align-self: center;
    align-content: center;
    height: 100% !important;
    font-size: unset;
    line-height: unset;
  }
}

